docs: Update the installation instructions
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 8 Dec 2022 12:00:59 +0000 (12:00 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 8 Dec 2022 17:58:29 +0000 (17:58 +0000)
INSTALL.in [deleted file]
INSTALL.md [new file with mode: 0644]

diff --git a/INSTALL.in b/INSTALL.in
deleted file mode 100644 (file)
index f1c065f..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-Prerequisites
-=============
-
-GTK+ requires the following packages:
-
- - Autotools or Meson
-
- - The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
-   the same location as GTK+. GTK+ @GTK_VERSION@ requires at least
-   GLib @GLIB_REQUIRED_VERSION@, Pango @PANGO_REQUIRED_VERSION@,
-   GdkPixbuf @GDK_PIXBUF_REQUIRED_VERSION@, ATK @ATK_REQUIRED_VERSION@
-   and cairo @CAIRO_REQUIRED_VERSION@.
-
- - libepoxy, for cross-platform OpenGL support.
-   It can be found here: https://github.com/anholt/libepoxy
-
- - Each GDK backend has its own backend-specific requirements. For
-   the X11 backend, X11 R6 and XInput version 2 (as well as a number
-   of other extensions) are required. The Wayland backend requires
-   (obviously) the Wayland libraries.
-
- - gobject-introspection @INTROSPECTION_REQUIRED_VERSION@ or newer.
-
-Simple install procedure for Meson
-==================================
-
-  % tar xf gtk+-@GTK_VERSION@.tar.xz          # unpack the sources
-  % cd gtk+-@GTK_VERSION@                     # change to the toplevel directory
-  % meson setup _build                        # configure GTK+
-  % meson compile -C _build                   # build GTK+
-  [ Become root if necessary ]
-  % meson install -C _build                   # install GTK+
-
-Simple install procedure for Autotools
-======================================
-
-  % tar xf gtk+-@GTK_VERSION@.tar.xz          # unpack the sources
-  % cd gtk+-@GTK_VERSION@                     # change to the toplevel directory
-  % ./autogen.sh                              # configure GTK+
-  % make                                      # build GTK+
-  [ Become root if necessary ]
-  % make install                              # install GTK+
-
-The Details
-===========
-
-Complete information about installing GTK+ and related libraries
-can be found in the file:
-
- docs/reference/gtk/html/gtk-building.html
-
-Or online at:
-
- http://developer-old.gnome.org/gtk/3.24/gtk-building.html
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644 (file)
index 0000000..86c35bc
--- /dev/null
@@ -0,0 +1,41 @@
+Prerequisites
+=============
+
+GTK requires the following packages:
+
+ - Autotools or Meson
+
+ - The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
+   the same location as GTK.
+
+ - libepoxy, for cross-platform OpenGL support.
+   It can be found here: https://github.com/anholt/libepoxy
+
+ - Each GDK backend has its own backend-specific requirements. For
+   the X11 backend, X11 R6 and XInput version 2 (as well as a number
+   of other extensions) are required. The Wayland backend requires
+   (obviously) the Wayland libraries.
+
+ - gobject-introspection 
+
+Simple install procedure for Meson
+==================================
+
+    $ tar xf gtk+-3.24.46.tar.xz                # unpack the sources
+    $ cd gtk+-3.24.46                           # change to the toplevel directory
+    $ meson setup _build                        # configure GTK+
+    $ meson compile -C _build                   # build GTK+
+    [ Become root if necessary ]
+    # meson install -C _build                   # install GTK+
+
+The Details
+===========
+
+Complete information about installing GTK+ and related libraries
+can be found in the file:
+
+- [gtk-building.html](./docs/reference/gtk/html/gtk-building.html)
+
+Or online at:
+
+- http://developer-old.gnome.org/gtk/3.24/gtk-building.html